ShortPixel\Controller\AdminNoticesController D

Total Complexity 146
Dependencies 5
Dependents 5
Total lines 872
Lines of code 555
Logical lines of code 322
Comment lines 127
Methods 38
Properties 3

Methods 38

Method Rating Maintainability Complexity Lines of code
doAPINotices()
B
45 17 38
parse_readme_content()
B
44 16 46
doQuotaNotices()
A
43 14 44
doRemoteNotices()
A
48 10 33
displayNotices()
A
47 9 35
getQuotaExceededMessage()
S
43 4 51
get_update_notice()
S
54 6 21
get_remote_notices()
S
49 5 31
doCompatNotices()
S
57 5 17
getConflictMessage()
S
56 5 16
doIntegrationNotices()
S
58 4 14
parse_update_notice()
S
61 4 12
doFilePermNotice()
S
62 4 11
check_admin_notices()
S
59 3 16
doUnlistedNotices()
S
64 4 9
getMonthAvg()
S
65 4 7
pluginUpdateMessage()
S
61 3 11
__construct()
S
64 3 8
markdown2html()
S
59 2 15
getInstance()
S
73 2 5
doHelpOptInNotices()
S
64 2 10
checkLegacyNotices()
S
65 2 9
upgradeBulkCallback()
S
76 2 4
monthlyUpgradeNeeded()
S
76 2 3
proposeUpgradePopup()
S
61 1 14
getHelpOptinMessage()
S
61 1 13
resetAllNotices()
S
81 1 3
resetCompatNotice()
S
80 1 3
resetAPINotices()
S
74 1 5
resetQuotaNotices()
S
74 1 5
resetIntegrationNotices()
S
80 1 3
reInstateQuotaExceeded()
S
80 1 3
getActivationNotice()
S
66 1 8
getUnlistedMessage()
S
64 1 9
getBulkUpgradeMessage()
S
66 1 7
getMonthlyUpgradeMessage()
S
66 1 7
getAlreadyUpgradedMessage()
S
70 1 5
bulkUpgradeNeeded()
S
73 1 4